package com.hksj.ecm.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author fjt
 * @data 2024/8/14 21:07
 * @describe todo
 */
@Data
public class EnergyTopTenBuildingVo implements Serializable {

    private static final long serialVersionUID = 2026462755419910969L;

    @ApiModelProperty(value = "统计方式(1=按楼层统计 2=按科室统计)")
    private Integer statisticalMethod;

    @ApiModelProperty(value = "楼层能耗详情")
    private List<EnergyTopTenBuildingDetailVo> voList;


    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class EnergyTopTenBuildingDetailVo implements Serializable{

        private static final long serialVersionUID = -988935499343497733L;

        @ApiModelProperty(value = "楼层名称")
        private String floorName;

        @ApiModelProperty(value = "科室字典明细值")
        private String departmentItemValue;

        @ApiModelProperty(value = "科室字典明细值名称")
        private String departmentItemValueName;

        @ApiModelProperty("能耗值")
        private Double consumptionValue;

    }


}
